/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'
import bdLayout from '@/views/bigdata'
const bigDataRouter = {
  path: '/bigdata',
  component: Layout,
  redirect: '/bigdata/report/form',
  name: 'bigdata',
  meta: {
    title: '大数据分析',
    icon: 'table'
  },
  children:[
    {
      path:'report',
      component: bdLayout,
      redirect:'/bigdata/report/form',
      children: [
       {
          path: 'form',
          component: () => import('@/views/bigdata/report/index'),
          name: 'form',
          meta: { title: '经营报表' }
        },
        {
          path: 'chart',
          component: () => import('@/views/bigdata/analysis/index'),
          name: 'chart',
          meta: { title: '经营图表' }
        },
        {
          path: 'board',
          redirect:'/report-board',
          meta: { title: '大数据看板', affix: false }
        }]
    }

  ]

}
export default bigDataRouter
